<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <s:head theme="ajax" />
    <title>My JSP 'distributeTopics.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="../css/team.css">
	<link rel="stylesheet" type="text/css" href="../css/topics.css">
	<link rel="stylesheet" type="text/css" href="../css/teacher.css">
	<link rel="stylesheet" type="text/css" href="../css/content.css">
	<script type="text/javascript" src="../js/common.js"></script>
	<script type="text/javascript" src="../js/teacher.js"></script>
	<script type="text/javascript" src="../js/topics.js"></script>
  </head>
  
  <body>
    <div id="content">
			<div id="head">
				分配审题任务
			</div>
			<div id="team_content">
				<s:form action="topics/distributeTopics.action" method="Post" id="dtopics" theme="simple">
					<div id="choice">
						<span> <s:label value="小组成员:"></s:label> <s:select
								list="teachers" listKey="teacherNum" listValue="name"
								name="teacher.teacherNum" onchange="submitForm('dtopics','autidingTopics.action')" cssStyle="*visibility:visible!important" id="userList"></s:select> </span>
					</div>
					<div id="option">
						<div>
							<s:optiontransferselect name="topicsl.topicsNum"
								doubleName="topicsr.topicsNum" list="topicsl"
								listKey="topicsNum" listValue="topicsName" doubleList="topicsr"
								doubleListKey="topicsNum" doubleListValue="topicsName"
								addToLeftLabel="撤销课题" addToRightLabel="分配课题"
								allowAddAllToLeft="false" allowAddAllToRight="false"
								allowUpDownOnLeft="false" allowUpDownOnRight="true"
								allowSelectAll="false" multiple="true" doubleMultiple="true"
								cssClass="leftTopics" doubleCssClass="leftTopics"
								leftTitle="未分配课题" rightTitle="已分配课题" theme="ajax"
								ondblclick="show_topics_details(this)" cssStyle=""
								doubleOndblclick="show_topics_details(this)" 
								cssStyle="*visibility:visible!important" doubleCssStyle="*visibility:visible!important"
								id="left" doubleId="right">
							</s:optiontransferselect>
						</div>
						<div>
							<s:submit value="提交"></s:submit>
						</div>
					</div>
				</s:form>
			</div>
		</div>
		<%@ include file="/topics.jsp" %>
		<div id="mask" style="display: none"></div>
  </body>
</html>
